I've had Ubuntu for months now and want to get rid of the unused XP partition hanging out on my hard drive. I was planning on using GParted. Problem is, I can't figure out which partition it is. In GParted, it seems like /dev/sda1 is Ubuntu and /dev/sda3 is Windows. I say this because /dev/sda1 has a 'boot' flag under the flag section, and when I start my computer it auto-boots to Ubuntu. In 'sudo fdisk -l', though, I get this:
Code:
Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x28000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6597 52990371 7 HPFS/NTFS
/dev/sda2 11449 12161 5727172+ 5 Extended
/dev/sda3 6598 11448 38965657+ 83 Linux
/dev/sda5 11662 12161 4016218+ 82 Linux swap / Solaris
/dev/sda6 11449 11661 1710859+ 82 Linux swap / Solaris
which clearly shows /dev/sda3 being Linux. Another reason I thought /dev/sda1 was Ubuntu was because I don't think I would have made the Windows partition bigger than Ubuntu's.
Anyways, now I am pretty sure /dev/sda1 is the one I want to delete (Windows), I am just posting the above so someone can hopefully verify which is which without any doubt.
So after identifying the one I need to delete, how do I do so? In the graphical representation of the partitions in GParted, right-clicking on /dev/sda1 has a 'delete' option. Is that all I need to do? Also, can I delete the swap partition since Windows will be gone?
And what is the 'Extended' partition?
Thanks in advance.